package com.jzmy.site.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.example.commons.entity.CertificateProfileDO;
import com.jzmy.site.entity.CertificateProfile;

import java.util.List;
import java.util.Map;

/**
 * @author mengzhichao
 * @create 2022-08-22-15:41
 */
public interface CertificateProfileDao extends BaseMapper<CertificateProfile> {

    List<Map<Object,Object>> selByAll();

    String selByFormalByProfileId(String id);

    List<Map<Object,Object>> selByFormal();

    List<Map<Object,Object>> selByNoTea();

    List<CertificateProfile> findListPage(Page<CertificateProfile> page);

    List<CertificateProfile> findListPageFormal(Page<CertificateProfile> page);

    List<Map<Object,Object>> selOrgByCer(Map map);

    List<Map<Object,Object>> selregionAll();
}
